import request from '@/utils/request'
//统计
export function getWebHomeCount() {
  return request({
    url: '/website/homeCount',
    method: 'get'
  })
}
//招标列表
export function getWebBidList(data) {
  return request({
    url: '/website/findBidList',
    method: 'post',
    data
  })
}
//详情
export function getWebBidDetails(id) {
  return request({
    url: `/website/detail/${id}`,
    method: 'get',
  })
}

//新闻详情
export function getNewsDetails(id) {
  return request({
    url: `/admin/dataNews/getById/${id}`,
    method: 'get'
  })
}
//新闻列表
export function getNewsList(data) {
  return request({
    url: `/admin/dataNews/list`,
    method: 'post',
    data
  })
}